FROM adoptopenjdk/openjdk8
ADD target/*.jar polar_light.jar
RUN echo "Asia/Shanghai" > /etc/timezone
ENV JAVA_OPTS="-server -Xms512m -Xmx2048m"
ENTRYPOINT ["java", "-jar","polar_light.jar"]
